export default (time = 1000) =>
  (storeAPI) =>
  (next) =>
  (action) => {
    setTimeout(() => {
      next(action);
    }, time);
  };
